<%--
  Created by IntelliJ IDEA.
  User: zarra
  Date: 2017/4/12
  Time: 下午4:16
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
    <script type="text/javascript" src = "https://res.wx.qq.com/open/js/jweixin-1.0.0.js"></script>
    <script type="text/javascript">
        wx.config({
            debug: true,
            appId: ${signature.appId},
            timestamp:${signature.timestamp} ,
            nonceStr: ${signature.nonceStr},
            signature: ${signature.signature},
            jsApiList: []
        });

        wx.ready(function(){
            alert("ok")
        });

        wx.error(function(res){
            alert("fail")
        });
    </script>
</head>
<body>
    <div>
        <h1>Hello world ${vendorUserInfo.realName}</h1>
        <h1>Hello world ${vendorUserInfo.vendorNo}</h1>
    </div>
</body>
</html>
